<template>
  <el-card class="app-container">
    <c-u-r-d-table :option="option"/>
  </el-card>
</template>

<script>

import ColumnType from '@/framework/constant/ColumnType'
import { userLikeTopicApi } from '@/feature/cms/infra/api/userLikeTopicApi'
import CURDTable from '@/framework/components/table/CURDTable'

export default {
  components: { CURDTable },
  data() {
    return {
      option: {
        requestApi: userLikeTopicApi,
        columns: [
          {
            label: '用户ID',
            prop: 'userId',
            searchable: true,
            type: ColumnType.SELECT
          },
          {
            label: '主题ID',
            prop: 'topicCategoryId',
            type: ColumnType.SELECT
          },
          {
            label: '创建时间',
            type: ColumnType.DATETIME,
            hiddenInForm: true,
            prop: 'gmtCreate'
          }
        ]
      }
    }
  },
  methods: {}
}
</script>

